import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useLoginStore = defineStore('login', () => {
  const isLogin = ref({})
  const doubleCount = computed(() => count.value * 2)
  function increment() {
    count.value++
  }

  return { isLogin, doubleCount, increment }
})
export const useSearchStore = defineStore('search', () => {
  const isSearch = ref({})
  
  return { isSearch }
})

export const useMvStore = defineStore('mv', () => {
  const mvUrl = ref({})
  return { mvUrl}
})
